feat(domain): 项目/角色模块 CRUD + 归属校验 - #150
Merged
xiaocheny214 merged 5 commits intoAug 10, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
xiaocheny214
force-pushed
the
feat/domain-modules
branch
from
August 10, 2026 02:30
d4f89f0 to
d6f70fb
Compare
huyanxius
approved these changes
Aug 10, 2026
Collaborator
|
没发现问题,可以合并 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概述
在 main 最新基础上,实现项目(Project)和角色(Character)两个领域模块的完整 CRUD,包含归属校验与跨用户权限测试。
包含内容
项目模块(server/project + web/api/project)
SqlAlchemyProjectService:create / get / list / delete + 名称去重POST/GET/DELETE /projects角色模块(server/character + web/api/character)
SqlAlchemyCharacterService:create / get / list / update / deletePOST/GET/PATCH/DELETE /charactersworkflow_run_id必填字段(关联 workflow_run,暂无外键约束)路由注册(bootstrap/app.py)
project_router和character_router测试(17 用例全通过)
test_project_api.py(9 用例)
test_character_api.py(8 用例)
关联